#!/bin/sh
APP_NAME=spider-0.0.1-SNAPSHOT.jar
PID=`ps -ef | grep java  |grep $APP_NAME |awk '{print $2}'`
echo "find metabase PID:"$PID
kill -9 $PID
echo "killed metabase PID:$PID"
echo "killed success!"